<div class="text-with-text">
    <div class="page-width">
        <div class="flex">
            {%- for block in section.blocks -%}
               <div class="text_list">
                {% if block.settings.title !=blank %}
                <div class="title">{{ block.settings.title }}</div>
               {% endif %}
                {% if block.settings.richtext !=blank %}
                    <div class="richtext">{{ block.settings.richtext }}</div>
                 {% endif %}
               </div>
            {%- endfor -%}
        </div>
    </div>
</div>



{% schema %}
{
  "name": "Text with text",
  "tag": "section",
  "class": "spaced-section spaced-section--full-width",
  "settings": [],
  "blocks":[
  {
    "type": "text",
    "name": "text",
    "settings": [
      {
        "type": "text",
        "id": "title",
        "label": "Title"
      },
      {
        "type": "richtext",
        "id": "richtext",
        "label": "Richtext"
      }
    ]
  }
  ],
  "presets": [
    {
      "name": "Text with text"
    }
  ]
}
  {% endschema %}